package com.wz.project.sap.STOCK_TRANSFER.service.impl;

import com.wz.project.sap.STOCK_TRANSFER.domain.ZflWmsStockTransferHeader;
import com.wz.project.sap.STOCK_TRANSFER.domain.ZflWmsStockTransferItem;
import com.wz.project.sap.STOCK_TRANSFER.domain.ZflWmsStockTransferSeri;
import com.wz.project.sap.STOCK_TRANSFER.mapper.ZflWmsStockTransferHeaderMapper;
import com.wz.project.sap.STOCK_TRANSFER.mapper.ZflWmsStockTransferItemMapper;
import com.wz.project.sap.STOCK_TRANSFER.mapper.ZflWmsStockTransferSeriMapper;
import com.wz.project.sap.STOCK_TRANSFER.service.ZflWmsStockTransferService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZflWmsStockTransferServiceImpl implements ZflWmsStockTransferService {

   @Autowired
   ZflWmsStockTransferHeaderMapper zflWmsStockTransferHeaderMapper;
   @Autowired
   ZflWmsStockTransferItemMapper zflWmsStockTransferItemMapper;
   @Autowired
   ZflWmsStockTransferSeriMapper zflWmsStockTransferSeriMapper;


   @Override
   public List<ZflWmsStockTransferHeader> getHeader(ZflWmsStockTransferHeader header) {
      return zflWmsStockTransferHeaderMapper.getHeader(header);
   }

   @Override
   public List<ZflWmsStockTransferItem> getItem(ZflWmsStockTransferItem item) {
      return zflWmsStockTransferItemMapper.getItem(item);
   }

   @Override
   public List<ZflWmsStockTransferSeri> getSeri(ZflWmsStockTransferSeri seri) {
      return zflWmsStockTransferSeriMapper.getSeri(seri);
   }

   @Override
   public void updateHeader(ZflWmsStockTransferHeader header) {
      zflWmsStockTransferHeaderMapper.updateHeader(header);
   }
}
